From: Jasper St. Pierre Date: Thu, 1 Dec 2011 03:02:09 +0000 (-0500) Subject: extensionSystem: Set the proper 'enabled' and 'type' parameters X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~7272 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=bbb83656bf83c9740fe68db7e35e05ea4f129b01;p=gnome-shell.git extensionSystem: Set the proper 'enabled' and 'type' parameters When installing an extension at runtime, we accidentally swapped the 'type' and 'enabled' parameters. While this doesn't directly affect anything right now, as everything works coincidentally, future patches that look at the 'type' parameter to decide what to do would get the wrong answer. --- diff --git a/js/ui/extensionSystem.js b/js/ui/extensionSystem.js index a0302fe02..9aadb3afd 100644 --- a/js/ui/extensionSystem.js +++ b/js/ui/extensionSystem.js @@ -202,7 +202,7 @@ function gotExtensionZipFile(session, message, uuid) { global.settings.set_strv(ENABLED_EXTENSIONS_KEY, enabledExtensions); } - loadExtension(dir, true, ExtensionType.PER_USER); + loadExtension(dir, ExtensionType.PER_USER, true); }); }